package com.mimaxueyuan.disruptor.demo6;

import com.lmax.disruptor.EventFactory;

/**
 * In order to allow the Disruptor to preallocate these events for us, 
 * we need to an EventFactory that will perform the construction
 *
 * @author: Kevin
 * @Email:	mimaxueyuan@163.com
 * [每天进步一点点、人生带来大改变...]
 */
public class LongEventFactory implements EventFactory<LongEvent>{

	public LongEvent newInstance() {
		return new LongEvent();
	}

}
